package com.example.service;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
 * @Description: UserService
 * @Scope("singleton") 单例
 * /@Scope("prototype") 多例
 * @Author: mingtian
 * @CreateDate: 2019/12/6 13:07
 * @Version: 1.0
 */
@Service
//@Scope("singleton")
@Lazy
public class UserService {
    public UserService() {
        System.out.println("无参构造函数执行");
    }
}